<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../Inc/Css.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body,td,th {
	font-size: 12px;
}
</style>
</head>
<body>
<script language="javascript" src="/jsLibrary/jquery/jquery.js"></script>
<script language="javascript" src="/jsLibrary/jquery/jquery.contextmenu.r2.js"></script>
<script language="javascript" src="/jsLibrary/clearbox.js"></script>
<script language="javascript">
	$(document).ready(function(){
	//把所有的输入框放是1970年的值清空

   });
</script>
<style>
.titletdbg{background-color:#EAEAEA;}
</style>
<table width="800" border="1" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="33%" height="38" align="center" style="font-size:16px; font-weight:bold">旅游产品订单处理</td>
  </tr>
</table>

<table width="800" border="1" cellspacing="0" cellpadding="0" align="center">
  <form action="orderform<{$Think.const.FGF}>saveisdo" method="post" name="form1">
  <tr>
    <td width="117" height="39" align="center" class="titletdbg"><strong>订单号</strong></td>
    <td width="278">&nbsp;<{$rs.orderform3}></td>
    <td width="92" align="center" class="titletdbg"><strong>产品名称</strong></td>
    <td width="303">&nbsp;<{$rs.orderform4}></td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg"><strong>下单日期</strong></td>
    <td>&nbsp;<{$rs.orderform6|date="Y-m-d H:i:s",###}></td>
    <td align="center" class="titletdbg"><strong>预定日期</strong></td>
    <td>&nbsp;<{$rs.orderform9|date="Y-m-d H:i:s",###}></td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg"><strong>电子邮件</strong></td>
    <td>&nbsp;<{$rs.orderform26}></td>
    <td align="center" class="titletdbg"><strong>联系人</strong></td>
    <td>&nbsp;<{$rs.orderform5}></td>
  </tr>
  <tr>
    <td height="161" align="center" class="titletdbg"><strong>订单内容</strong></td>
    <td colspan="3">&nbsp;<{$rs.orderform10}>
    
    </td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">确认书</td>
    <td colspan="3"><a target="_blank" href="/affirm<{$Think.const.FGF}>zhifu<{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}>">支付确认书</a> 
    <a target="_blank" href="/affirm<{$Think.const.FGF}>chutuantongzhi<{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}>">出团通知书</a>
    (<a target="_blank" href="/affirm<{$Think.const.FGF}>chutuantongzhi<{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}><{$Think.const.FGF}>showedit<{$Think.const.FGF}>yes">
      <if condition="($rs.orderform30 neq '1') or ($Login.1 eq $adminname)">修改,</if>
    </a> <a target="_blank" href="/affirm<{$Think.const.FGF}>chutuantongzhi<{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}><{$Think.const.FGF}>sendflag<{$Think.const.FGF}>yes">
     <if condition="$rs.orderform30 eq '1'">
    已发送
    <else />
    发送
    </if>
    
   </a>) 
    
    <if condition="$trs.tour4 eq '544'">
    	<assign name="hetongmoman" value="guoleihetong" />
    <elseif condition="$trs.tour4 eq '563'" />
    	<assign name="hetongmoman" value="chujinghetong" />
    </if>
    
    <a target="_blank" href="/affirm<{$Think.const.FGF}><{$hetongmoman}><{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}>">旅游合同</a>
    (<a target="_blank" href="/affirm<{$Think.const.FGF}><{$hetongmoman}><{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}><{$Think.const.FGF}>showedit<{$Think.const.FGF}>yes">
    <if condition="($rs.orderform31 neq '1') or ($Login.1 eq $adminname)">修改,</if>
    </a><a  target="_blank" href="/affirm<{$Think.const.FGF}><{$hetongmoman}><{$Think.const.FGF}>orderid<{$Think.const.FGF}><{$rs.orderform3}><{$Think.const.FGF}>sendflag<{$Think.const.FGF}>yes">
    <if condition="$rs.orderform31 eq '1'">
    已发送
    <else />
    发送
    </if>
    </a>)</td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg"><strong>是否处理该订单</strong></td>
    <td colspan="3">&nbsp;<{$rs.orderform11|ui_checkbox_shenghe="orderform11",###}>(√表示已处理)</td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg"><strong>处理意见</strong></td>
    <td colspan="3">
      <input type="radio" name="orderform12" id="orderform12" value="1" <{$rs.orderform12|echoChecked="1",###}> >
      
    欢迎你预定本产品，你的定单已接受，受理情况或部份变动请参考我们的处理意见<br>
    <input type="radio" name="orderform12" id="orderform12" value="2" <{$rs.orderform12|echoChecked="2",###}>>
   
欢迎你预定本产品，你指定的服务不能成行，推荐预定以下相近产品或服务<br>
<input type="radio" name="orderform12" id="orderform12" value="3" <{$rs.orderform12|echoChecked="3",###}> >

对不起你的订单已失效，欢迎再次定购本网产品，谢谢你的支持</td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">综合处理意见及理由</td>
    <td colspan="3">
      <textarea name="orderform13" id="orderform13" cols="60" rows="7"><{$rs.orderform13}></textarea></td>
     
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">总金额：</td>
    <td colspan="3">
      <input type="text" name="orderform16" id="orderform16" size="8" value="<{$rs.orderform16}>">
      元，&nbsp;定金： 
      <input type="text" name="orderform17" id="orderform17" size="8" value="<{$rs.orderform17}>">
      元,支付期限<input type="text" name="orderform18" id="orderform18" onClick="showCal(orderform18);" size="12" value="<{$rs.orderform18|date="Y-m-d",###}>"> 之前支付 </td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">余款支付金额：</td>
    <td colspan="3"><input type="text" name="orderform19" id="orderform19" size="8" value="<{$rs.orderform19}>">
元，支付期限：<input type="text" name="orderform20" id="orderform20" onClick="showCal(orderform20);" size="12" value="<{$rs.orderform20|date="Y-m-d",###}>">
之前支付</td>
  </tr>
  
 
  <tr>
    <td height="39" colspan="4" align="center" class="titletdbg">工作人员：<input readonly type="text" name="orderform22" id="orderform22" value="<{$Think.session.Login.1}>">
   
     <input type="hidden" name="orderform28"  id="orderform28" value="<{$rs.orderform28|date="Y-m-d H:i:s",###}>">
     <input name="issendmail" id="issendmail" type="checkbox" value="1">是否发送邮件,第一次处理时间:<{$rs.orderform28|date="Y-m-d H:i:s",###}> <br>
     上次处理工作人员:<{$rs.orderform22}>
     <input name="mysubmit1" id="mysubmit1" type="submit" value="保存并提交回复"
     <if condition="($rs.orderform11 eq 1) and ($adminname neq 'admin') ">
     	disabled="disabled"
     </if>
     
     >
     <input type="hidden" id="orderform0" name="orderform0" value="<{$rs.orderform0}>">
     <input type="hidden" id="tomail" name="tomail" value="<{$rs.orderform26}>">
     
     </td>
    </tr>
  </form>

 <form action="orderform_savekccycontent" method="post" name="formotherchili">
  <tr>
    <td height="39" colspan="4" align="center" class="titletdbg">
    处理客人操作的信息
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="19%" height="32" align="right"><strong>客服人员处理意见</strong></td>
    <td>
      <textarea name="orderform24kn" cols="60" rows="8" id="orderform24kn"><{$rs.orderform24|getformcontent=###,"客内"}></textarea>
	
      </td>
    </tr>
  <tr>
    <td height="32">&nbsp;</td>
    <td>客服人员<input type="text" name="orderform24km" id="orderform24km" value="<{$rs.orderform24|getformcontent=###,"客名"}>"> 
      处理时间
        <input type="text" name="orderform24ks" id="orderform24ks" onClick="showCal(orderform24ks);" value="<{$rs.orderform24|getformcontent=###,"客时"}>">
        <input type="submit" name="submitd1" id="submitd1" value="提交"></td>
     </tr>
     <tr>
    <td width="19%" height="32" align="right"><strong>操作人员处理意见</strong></td>
    <td>
      <textarea name="orderform24cn" cols="60" rows="8" id="orderform24cn"><{$rs.orderform24|getformcontent=###,"操内"}></textarea></td>
    </tr>
  <tr>
    <td height="32">&nbsp;</td>
    <td>操作人员
      <input type="text" name="orderform24cm" id="orderform24cm" value="<{$rs.orderform24|getformcontent=###,"操名"}>"> 
      处理时间
        <input type="text" name="orderform24cs" id="orderform24cs" onClick="showCal(orderform24cs);" value="<{$rs.orderform24|getformcontent=###,"操时"}>">
        <input type="submit" name="submitd2" id="submitd2" value="提交"></td>
     </tr>
     <tr>
    <td width="19%" height="32" align="right"><strong>财务人员处理意见</strong></td>
    <td>
      <textarea name="orderform24cain" cols="60" rows="8" id="orderform24cain"><{$rs.orderform24|getformcontent=###,"财内"}></textarea></td>
    </tr>
  <tr>
    <td height="32">&nbsp;</td>
    <td>财务人员
      <input type="text" name="orderform24caim" id="orderform24caim" value="<{$rs.orderform24|getformcontent=###,"财名"}>"> 
      处理时间
        <input type="text" name="orderform24cais" id="orderform24cais" onClick="showCal(orderform24cais);" value="<{$rs.orderform24|getformcontent=###,"财时"}>">
        <input type="submit" name="submitd3" id="submitd3" value="提交"></td>
     </tr>
     <tr>
    <td width="19%" height="32" align="right"><strong>产品人员处理意见</strong></td>
    <td>
      <textarea name="orderform24cann" cols="60" rows="8" id="orderform24cann"><{$rs.orderform24|getformcontent=###,"产内"}></textarea></td>
    </tr>
  <tr>
    <td height="32">&nbsp;</td>
    <td>产品人员
      <input type="text" name="orderform24canm" id="orderform24canm" value="<{$rs.orderform24|getformcontent=###,"产名"}>"> 
      处理时间
        <input type="text" name="orderform24cans" id="orderform24cans" onClick="showCal(orderform24cans);" value="<{$rs.orderform24|getformcontent=###,"产时"}>">
        <input type="submit" name="submitd4" id="submitd4" value="提交"></td>
     </tr>
       <input type="hidden" name="id" id="id" value="<{$rs.orderform0}>">
 </form>
</table>

    
    </td>
  </tr>
 
  <form action="pay_savedingjing" method="post" name="pay_savedingjing">
  <tr>
    <td height="39" align="center" class="titletdbg">订金确认</td>
    <td colspan="3"><if condition="$rs.pay6 eq 1">
    已确认
    <else/>
    未确认
    </if>
    </td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">订金金额</td>
    <td>
      <input type="text" name="pay3" id="pay3" value="<{$rs.pay3}>"></td>
    <td  class="titletdbg">&nbsp;是否确认</td>
    <td >&nbsp;
     
    	 <{$rs.pay6|ui_checkbox_shenghe="pay6",###,"1"}>(若确认请打上勾)
    
    </td>
    </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">支付方式</td>
    <td>&nbsp; <{$rs.pay5|ui_select_paytype="pay5",###}></td>
    <td class="titletdbg">支付时间</td>
    <td>
      <input type="text" name="pay4" id="pay4" onClick="showCal(pay4);" value="<{$rs.pay4|date='Y-m-d H:i:s',###}>"></td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">备注</td>
    <td colspan="3">
      <textarea name="pay11" id="pay11" cols="70" rows="5"><{$rs.pay11}></textarea></td>
  </tr>
 
  <tr>
    <td height="39" align="center" class="titletdbg">&nbsp;</td>
    <td colspan="3"><input type="submit"  name="djmybutton" id="djmybutton" value="提 交"
     <if condition="$rs.pay6 eq 1">disabled="disabled"</if>
     
     >
    <input type="hidden" id="pay13" name="pay13" value="<{$Think.session.Login.1}>">
     <input type="hidden" id="pay0" name="pay0" value="<{$rs.pay0}>">
      <input type="hidden" id="orderid" name="orderid" value="<{$rs.orderform0}>">
    </td>
  </tr>
 </form>
 <form action="pay_saveyukuan" method="post" name="formd">
  <tr>
    <td height="39" align="center" class="titletdbg">余款确认</td>
    <td colspan="3">&nbsp;<if condition="$rs.pay10 eq 1">
    已确认
    <else/>
    未确认
    </if></td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">余款金金额</td>
    <td>
      <input type="text" name="pay7" id="pay7" value="<{$rs.pay7}>"></td>
    <td  class="titletdbg">&nbsp;余款确认</td>
     <td >&nbsp;
   
    	 <{$rs.pay10|ui_checkbox_shenghe="pay10",###,"1"}>(若确认请打上勾)
    
   </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">支付方式</td>
    <td>&nbsp; <{$rs.pay9|ui_select_paytype="pay9",###}></td>
    <td class="titletdbg">支付时间</td>
    <td>
      <input type="text" name="pay8" id="pay8" onClick="showCal(pay8);" value="<{$rs.pay8|date='Y-m-d H:i:s',###}>"></td>
  </tr>
  <tr>
    <td height="39" align="center" class="titletdbg">备注</td>
    <td colspan="3">
      <textarea name="pay12" id="pay12" cols="70" rows="5"><{$rs.pay12}></textarea></td>
  </tr>
 
  <tr>
    <td height="39" align="center" class="titletdbg">&nbsp;</td>
    <td colspan="3"><input type="submit" name="dmybutton" id="dmybutton" value="提 交"
     <if condition="$rs.pay10 eq 1">disabled="disabled"</if>
    >

    <input type="hidden" id="pay14" name="pay14" value="<{$Think.session.Login.1}>">
     <input type="hidden" id="pay0" name="pay0" value="<{$rs.pay0}>">
      <input type="hidden" id="orderid" name="orderid" value="<{$rs.orderform0}>">
    </td>
  </tr>
 </form>
</table>


<script language="javascript">
$("#djmybutton").bind("click", function(){
	djdpaytime=$("#paytimeearnestmoney").val();
	if(!djdpaytime.match(/^[\d]{4}\-[\d]{1,2}\-[\d]{1,2}/)) 
	{
		alert("订金的支付时间不能为空");
		$("#paytimeearnestmoney").focus();
		return false;
	}
	return true;
	
});
</script>


</body>
</html>